<div class="panel panel-default panel-intro">
    <div class="panel-body">
        <table class="table table-striped table-bordered table-hover table-nowrap">
          
                <tr>
                    <td>单号编号：</td>
                    <td>{$row.code|htmlentities}</td>
                    <td>客户名称：</td>
                    <td>{$row.business.nickname_text|htmlentities}</td>
                    <td>联系方式：</td>
                    <td>{$row.business.mobile|htmlentities}</td>
                </tr>
                <tr>
                    <td>订单状态</td>
                    <td>{$row.status_text|htmlentities}</td>
                    <td>总价：</td>
                    <td>{$row.amount|htmlentities}</td>
                    <!-- <td>入库单状态：</td>
                    <td>{$row.status_text|htmlentities}</td> -->
                </tr>
                <tr>
                    <td>制单日期</td>
                    <td>{$row.createtime|htmlentities|datetime}</td>
                    {if($row.checkmanid)}
                        <td>审核管理员:</td>
                        <td>{$row.admin.nickname|htmlentities}</td>
                    {/if}
                    {if($row.shipmanid)}
                        <td>发货管理员:</td>
                        <td>{$row.admin.nickname|htmlentities}</td>
                    {/if}
                </tr>
                <tr>
                    <td>备注：</td>
                    <td>{$row.remark|htmlentities}</td>
                    <td>详细地址：</td>
                    <td>{$row.address.address_text}-{$row.address.address|htmlentities}</td>
                </tr>
        </table>
    </div>
    <div class="panel-body">
        <table class="table table-striped table-bordered table-hover table-nowrap">
            <tr>
                <th>ID</th>
                <th>商品名称</th>
                <th>单位</th>
                <th>商品单价</th>
                <th>数量</th>
                <th>小计</th>
                <th>商品分类</th>
            </tr>
            {foreach $OrderProductList as $item}
                <tr>
                    <td>{$item.id}</td>
                    <td>{$item.product.name}</td>
                    <td>{$item.product.unit.name}</td>
                    <td>{$item.price}</td>
                    <td>{$item.pronum}</td>
                    <td>{$item.total}</td>
                    <td>{$item.product.type.name}</td>
                </tr>
            {/foreach}
        </table>
    </div>
</div>